package com.knowif.dao;

import com.knowif.pojo.UserOrderFlow;
import com.knowif.pojo.UserOrderFlowExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserOrderFlowMapper {
    int countByExample(UserOrderFlowExample example);

    int deleteByExample(UserOrderFlowExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserOrderFlow record);

    int insertSelective(UserOrderFlow record);

    List<UserOrderFlow> selectByExample(UserOrderFlowExample example);

    UserOrderFlow selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserOrderFlow record, @Param("example") UserOrderFlowExample example);

    int updateByExample(@Param("record") UserOrderFlow record, @Param("example") UserOrderFlowExample example);

    int updateByPrimaryKeySelective(UserOrderFlow record);

    int updateByPrimaryKey(UserOrderFlow record);

    UserOrderFlow selectByUserOrderId(Integer userOrderId);//支持一条

    UserOrderFlow selectByWechatTradeNo(String wechatTradeNo);

    UserOrderFlow selectByFastAskOrderId(Integer fastAskOrderId);
}